Allows using * to configure the welcome message for all teams #80
Allows using * to configure the welcome message for all teams #80maisnamrajusingh wants to merge 6 commits intomattermost-community:masterfrom
Conversation
|
Hello @maisnamrajusingh, Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here. |
hanzei
left a comment
There was a problem hiding this comment.
The implementation is fine for "*".
The original ticket discussed adding support for Globbing in general and allow patterns like qa-team-*. Can this be implemented in a reasonable amount of time and without adding much complexity?
|
@hanzei I think it adds more complexity to the code base, there is already another pr that would let users use "team-1,team2" etc to allow the message for multiple teams. But let me know if you feel I should look into it |
hanzei
left a comment
There was a problem hiding this comment.
How would the /welcomebot preview command work with this feature?
|
@aaronrothschild I would love to hear your thoughts on the Globbing discussion above. |
|
From the original ticket "however, i would like to be able to send people a welcome-message after their first login - regardless of the team they join." To me, there are multiple things at play here:
|
|
@hanzei on above |
|
@maisnamrajusingh #80 (review) still seems unresolved. |
|
Thanks for your thoughts @aaronrothschild. Based on that feedback the PR needs to get updated so the welcome message triggers at user creation not team joining. |
|
This PR has been automatically labelled "stale" because it hasn't had recent activity. |
|
@hanzei I assumed this ticket doesn't need to be worked on because of a misunderstanding I had when I spoke to @mickmister I'll look into this now |
|
@aaronrothschild @hanzei so looking at the comments. Does the following make sense
|
|
@maisnamrajusingh Yes, that sounds correct to me. Thanks! |
Just to surface the miscommunication here, the original message I posted said "Note that the welcomebot App project should not be worked at the moment". I was referring specifically to this ticket #42 (comment), which is decided to be implemented as a Mattermost App. The Welcomebot plugin should continue to be developed and improved. Sorry for this miscommunication. |
hanzei
left a comment
There was a problem hiding this comment.
I doesn't seem like like #80 (comment) gets addressed in this PR, does it?
@hanzei using the * would produce a maintainence issue as mentioned in the comment and confirmed here |
|
@maisnamrajusingh I don't understand what are you referring to. @mickmister talked in #80 (comment) about the possible conversion from a plugin to an app. IMO this doesn't impact this ticket at all, does it? The suggestion you made in #80 (comment) still seems reasonable to me and I would like to see that feature. |
|
@mickmister @hanzei @aaronrothschild We looked into the above comments and thought of an approach. |
@ayusht2810 I'm thinking we should create posts for both the global and per-team in this case |
|
Created PR #131 according to the above comments |
|
Closing because of #131 |
Summary
Allows using * to configure the welcome message for all teams
Ticket Link
#36